# Contributor: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=pc
pkgver=0.4
pkgrel=0
pkgdesc="programmer's calculator"
url="https://git.sr.ht/~ft/pc"
arch="all"
license="MIT"
makedepends="byacc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~ft/pc/archive/$pkgver.tar.gz"
options="!check" # no tests

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
d51108d93e64600051a905192edc585194c8d9d515fe7b4183f62eabb90a6d02550f64ac81df3315ff4e0548149d07feed561b5c56deba35e13b69758a5eac4f  pc-0.4.tar.gz
"
